<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
	* {
		font-family: 微软雅黑;
	}
</style>
</head>
<body>
	<div id="header" style="text-align: center;">
		<h3>2016-2017度${paper.paper_name }考试试卷</h3>
		学号:<u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</u>
		姓名:<u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</u>
		班级:<u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</u>
	</div>
	
	<div id="single">
		<h4>一、单选题(共${paper.single_number}题，每题<fmt:formatNumber value="${paper.single_score/paper.single_number }" pattern="#" />分)</h4>
		<c:forEach items="${singleList }" var="single" varStatus="st">
			<p>${st.count }、${single.questionTitle }</p>
			<input type="radio" name="single${single.questionId }" />A、${single.answerA }<br/>
			<input type="radio" name="single${single.questionId }"/>B、${single.answerB }<br/>
			<input type="radio" name="single${single.questionId }"/>C、${single.answerC }<br/>
			<input type="radio" name="single${single.questionId }"/>D、${single.answerD }<br/>
		</c:forEach>
	</div>
	<div id="multi">
		<h4>二、多选题(共${paper.multi_number}题，每题<fmt:formatNumber value="${paper.multiScore/paper.multi_number }" pattern="#" />分)</h4>
		<c:forEach items="${multiList }" var="multi" varStatus="st">
			<p>${st.count }、${multi.questionTitle }</p>
			<input type="radio" name="multi${multi.questionId }" />A、${multi.answerA }<br/>
			<input type="radio" name="multi${multi.questionId }"/>B、${multi.answerB }<br/>
			<input type="radio" name="multi${multi.questionId }"/>C、${multi.answerC }<br/>
			<input type="radio" name="multi${multi.questionId }"/>D、${multi.answerD }<br/>
		</c:forEach>
	</div>
	<div id="judge">
		<h4>三、判断题(共${paper.judge_number}题，每题<fmt:formatNumber value="${paper.judge_score/paper.judge_number }" pattern="#" />分)</h4>
		<c:forEach items="${judgeList }" var="judge" varStatus="st">
			<p>${st.count }、${judge.questionTitle }</p>
			<input type="radio" name="judge${judge.questionId }" />对、${judge.answerA }<br/>
			<input type="radio" name="judge${judge.questionId }"/>错、${judge.answerB }<br/>
			
		</c:forEach>
	</div>
	
</body>
</html>